<?php
	if(isset($_GET) && $_GET['id'] != ''){
		global $database;
		
		$id = $_GET['id'];
		$database->delete("order_sum", "id=$id");
		
		header("Location: " . $_SERVER['HTTP_REFERER']);
	}
?>